﻿using Microsoft.Extensions.DependencyInjection;
using Qianke.Core.Saas.Contracts;
using Volo.Abp.AutoMapper;
using Volo.Abp.Domain;
using Volo.Abp.Modularity;

namespace Qianke.Core.Saas.Domain
{
    [DependsOn(
        typeof(AbpDddDomainModule),
        typeof(AbpAutoMapperModule),
        typeof(SaasContractModule)
    )]
    public class SaasDomainModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            context.Services.AddAutoMapper(options =>
            {
                options.AddMaps(typeof(SaasDomainModule));
            });
        }
    }
}
